package com.yonyou.gmmc.service.dealer.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.yonyou.gmmc.common.annotation.OracleDb;
import com.yonyou.gmmc.service.dealer.model.TmDealer;

import tk.mybatis.mapper.common.Mapper;

@OracleDb
public interface TmDealerMapper extends Mapper<TmDealer> {
    
    public List<TmDealer> selectDealer(@Param("userId") String userId,@Param("phone") String phone);
    
    public List<Map<String,String>> selectCarModel();
    
    public List<Map<String,String>> selectStatus();
    
    public List<String> selectCarInfo(@Param("driveId") String driveId,@Param("modelCodeNew") String modelCodeNew);

    public List<String> dispatchObject(@Param("dispatchObject") String dispatchObject,@Param("modelCodeNew") String modelCodeNew);
    
    public List<Map<String,String>> selectCarList(@Param("dispatchObject") String dispatchObject,@Param("dealerCode") String dealerCode,@Param("modelCodeNew") String modelCodeNew);

    public List<Map<String,String>> selectUsage(@Param("licenseNo") String licenseNo,@Param("date") String date);
}